<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微信导航栏</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
        }

        body {
            background: url(bg.png) repeat-x;
        }

        .nav {
            margin-top: 13px;
        }

        .nav li {
            float: left;
            margin: 0 5px;
        }

        .nav a {
            display: inline-block;
            height: 58px;
            background: url(to.png) no-repeat;
            padding-left: 20px;
            color: #fff;
            font-size: 14px;
            line-height: 58px;
        }

        .nav a:hover,
        .nav a:hover span {
            background-image: url(aa.jpg);
        }

        .nav a span {
            display: inline-block;
            height: 58px;
            background: url(to.png) no-repeat right top;
            padding-right: 20px;
        }
    </style>
</head>

<body>
    <div class="nav">
        <ul>
            <li>
                <a href="#">
                    <span>首页</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <span>帮助与反馈</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <span>公众平台</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <span>开放平台</span>
                </a>
            </li>
        </ul>
    </div>
</body>

</html>